package com.xuzz.study.spring.autowired;

/**
 * @description:
 * @author: xuzz
 * @create: 2020-02-27 16:37
 */
public class LoadBalanceInterceptor implements MockRestTemplate.Interceptor {
    @Override
    //在resttemplate中，实际会传入当前的request等
    public void invoke(String preMsg) {
        System.out.println("interceptor invoke,pre message is : "+preMsg);
    }
}
